<script setup lang="ts">
const phone = reactive({
  num: '',
  verify: ''
})
</script>

<template>
  <div class="pane-phone">
    <el-form
      ref="ruleFormRef"
      :model="phone"
      label-position="right"
      hide-required-asterisk:true
      status-icon
      label-width="60px"
      size="large"
    >
      <el-form-item label="手机号" prop="num">
        <el-input type="" autocomplete="off" v-model="phone.num" />
      </el-form-item>
      <el-form-item label="验证码" prop="verify">
        <div class="get-code">
          <el-input type="password" v-model="phone.verify" />
          <el-button type="primary" class="btn-verify">获取验证码</el-button>
        </div>
      </el-form-item>
    </el-form>
  </div>
</template>

<style scoped lang="less">
.get-code {
  display: flex;
}
.btn-verify {
  margin-left: 8px;
}
</style>
